﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WebEntities.Models.WebInfo
{
    public class LeaveMsgType
    {
        public int TypeID { get; set; }
        public string MsgType { get; set; }

        public static LeaveMsgType AsLeaveMsgType(WI_LeaveMsgType msgType)
        {
            LeaveMsgType lMsgType = new LeaveMsgType
            {
                TypeID = msgType.TypeID,
                MsgType = msgType.MsgType
            };
            return lMsgType;
        }
    }
}
